package com.ccp.dev.system.dao;
import com.ccp.dev.core.basic.base.IBaseMapper;
import com.ccp.dev.system.model.MessageReceiverOrgDelete;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
 * 组织内用户删除信息 Dao层
 *
 * @author dxy
 * @date 2019-08-15 15:14:52
 */
@Repository
public interface MessageReceiverOrgDeleteDao extends IBaseMapper<MessageReceiverOrgDelete,String> {

  /**
   * 新增组织人员删除信息
   * @param messageReceiverOrgDelete
   * @return
   */
  public  void delOrgUser(MessageReceiverOrgDelete messageReceiverOrgDelete);

  /**
   * 查询所有组织个体删除信息
   * @return
   */
    List<MessageReceiverOrgDelete> getAll();

  /**
   * 根据信息id查询组织个体删除信息
   * @param messageId
   * @return
   */
  List<MessageReceiverOrgDelete> getByMessageId(@Param("messageId")String messageId);
}
